import Notfound from '../Pages/404/Notfound'
import Home from '../Pages/Home/Home';
import Login from '../Pages/Login/Login';
import Play from '../Pages/Play/Play';
import Explore from '../Pages/Explore/Explore';

const routers = [
    {
        path: '/',
        exact: true,
        component: Home,
    },
    {
        path: '/login',
        component: Login,
    },
    {
        path: '/404',
        component: Notfound,
    },
    {
        path: '/play/:id',
        component: Play,
        isAuth: true,
    },
    {
        path: '/explore',
        component: Explore,
    },
    {
        path: '/search/:key',
        component: Explore,
    }
]

export default routers;